/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 18128
 * Date: 2023-09-23
 * Time: 19:14
 */
class st implements Comparable<st>
{
    public int age;
    public String name;
    public st()
    {

    }
    public st(int age, String name) {
        this.age = age;
        this.name = name;
    }

    @Override
    public int compareTo(st o) {

        if(this==o)
        {
            return 1;
        }
        else if (o instanceof st) {
           st ss=(st)o;
           return this.age-ss.age;
        }
        else
        {
            return 0;//异常
        }
    }
}
public class hjx {

}
